From c51e990ede4de5a9e43446956a2c06f8fbdb6585 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Wed, 1 Nov 2006 08:34:55 +0000 Subject: [PATCH] This fixes another missing part for x86-64 support in the xm testsuite. Signed-off-by: Stefan Berger --- tools/xm-test/lib/XmTestReport/arch.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/xm-test/lib/XmTestReport/arch.py b/tools/xm-test/lib/XmTestReport/arch.py index e4fd16273d..965e7fb9c6 100644 --- a/tools/xm-test/lib/XmTestReport/arch.py +++ b/tools/xm-test/lib/XmTestReport/arch.py @@ -28,6 +28,7 @@ _uname_to_arch_map = { "i486" : "x86", "i586" : "x86", "i686" : "x86", + "x86_64": "x86_64", "ia64" : "ia64", "ppc" : "powerpc", "ppc64" : "powerpc", @@ -37,6 +38,9 @@ _arch = _uname_to_arch_map.get(os.uname()[4], "Unknown") if _arch == "x86": cpuValues = {"model_name" : "Unknown", "flags" : "Unknown"} +elif _arch == "x86_64": + cpuValues = {"model_name" : "Unknown", + "flags" : "Unknown"} elif _arch == "ia64": cpuValues = {"arch" : "Unknown", "features" : "Unknown"} -- 2.30.2